package pile.pay.mapper;

import pile.pay.entity.ChargeOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
 * <p>
 * 充电订单表 Mapper 接口
 * </p>
 *
 * @author 郭天义
 * @since 2024-06-28
 */
@Repository
public interface ChargeOrderMapper extends BaseMapper<ChargeOrder> {

    /**
     * 根据用户ID  查询是否有正在充电的订单
     * @param memberId
     * @return
     */
    ChargeOrder selectMemberChargingOrder(Integer memberId);
}
